import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:何人亮
 * Date:2024-07-26
 * 13:07
 */
public class Test {
    public static void main(String[] args) {
        int[] array={2,5,8,4,6,8,34,8,0,9,1,3};
        System.out.println("排序前："+ Arrays.toString(array));
        HeapSort.HeapSort(array);
        System.out.println("排序后："+Arrays.toString(array));
    }
}
